const path = require('path');
const express = require('express');
const logger = require('morgan');

const port = 3000;
const app = express();

app.use(logger('dev'))
app.use(express.static(path.resolve(__dirname,'pages')));


app.listen(port, () => console.log(`正在监听${port}端口`) );